package com.wzcl.app.model.vo;

import com.wzcl.app.dao.model.TopicOption;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.beans.BeanUtils;


@Data
public class TopicOptionVo extends BaseVo {

    @ApiModelProperty(value = "选项A,B,C,D")
    private String optionCode;

    @ApiModelProperty(value = "选项内容")
    private String  content;

    @ApiModelProperty(value = "排序字段")
    private Integer orderNo;

    private TopicOptionVo(){
    }

    public static TopicOptionVo create(TopicOption topicOption){
        TopicOptionVo topicOptionVo = new TopicOptionVo();
        BeanUtils.copyProperties(topicOption,topicOptionVo);
        return topicOptionVo;
    }

    @Override
    public void translationValueStr() {

    }

    @Override
    public void processResources() {

    }
}
